package com.hyy.api.domain.provider.bo;

import com.hyy.api.domain.provider.ProvCorporate;
import com.hyy.common.mybatis.core.domain.BaseEntity;
import com.hyy.common.core.validate.AddGroup;
import com.hyy.common.core.validate.EditGroup;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import lombok.EqualsAndHashCode;
import jakarta.validation.constraints.*;

/**
 * 供应商公司信息业务对象 prov_corporate
 *
 * @author ruoyi
 * @date 2025-05-20
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = ProvCorporate.class, reverseConvertGenerate = false)
public class ProvCorporateBo extends BaseEntity {

    /**
     * 公司ID
     */
    @NotNull(message = "公司ID不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 公司名称
     */
    private String name;


    /**
     * 状态
     */
    private Integer status;


}
